<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>

        <h:form>
            <h:dataTable value="#{courseofferingBean.courseofferingClasses}" var="user">

                <h:column>
                    <f:facet name="header">Course</f:facet>
                        #{user.course}
                </h:column>
                <h:column>
                    <f:facet name="header">Section</f:facet>
                        #{user.section}
                </h:column>
                <h:column>
                    <f:facet name="header">Semester</f:facet>
                        #{user.semester}
                </h:column>
                <h:column>
                    <f:facet name="header">Instructor</f:facet>
                        #{user.instructor}
                </h:column>
                <h:column>
                    <f:facet name="header">Syllabus</f:facet>
                    <h:commandLink value="#{user.syllabusLink}" actionListener ="#{courseofferingBean.getSyllabus}"></h:commandLink>
                </h:column>
                <h:column>
                    <f:facet name="header">Schedule</f:facet>
                    <h:commandLink value="#{user.scheduleLink}" actionListener="#{courseofferingBean.getSchedule}"></h:commandLink>
                </h:column>
                <h:column>
                    <f:facet name="header">Lecture</f:facet>
                    <h:commandLink value="#{user.lectureLink}" actionListener="#{courseofferingBean.getLectureNotes}"></h:commandLink>
                </h:column>
                <h:column>
                    <f:facet name="header">Course Outcome Attainment Target</f:facet>
                        #{user.courseOutcomeAttainmentTarget}
                </h:column>
                <h:column>
                    <f:facet name="header">End Of Semester Report</f:facet>
                    <h:commandLink value="#{user.endLink}" actionListener="#{courseofferingBean.getEndOfSemesterReport}"></h:commandLink>
                </h:column>
                <h:column>
                    <f:facet name="header">Course Coordinator Report</f:facet>
                    <h:commandLink value="#{user.courseLink}" actionListener="#{courseofferingBean.getCourseCoordinatorReport}"></h:commandLink>
                </h:column>
                <h:column>
                    <f:facet name="header">CIC Report</f:facet>
                    <h:commandLink value="#{user.CICLink}" actionListener="#{courseofferingBean.getCICReport}"></h:commandLink>
                </h:column>
                <h:column>    	
                    <f:facet name="header">Assignments</f:facet>  
                    <h:selectOneMenu value="Assignments" valueChangeListener="#{gUIUtilityClass.whatever}" onchange="submit();">
                        <f:selectItem itemValue="" itemLabel="select"/> 
                        <f:selectItems value="#{user.assignments}"/>    
                    </h:selectOneMenu>
                </h:column>
                <h:column>    	
                    <f:facet name="header">Course Outcome Direct Assessments</f:facet>  
                    <h:selectOneMenu value="CourseOutcomeDirectAssessments" valueChangeListener="#{gUIUtilityClass.whatever}" onchange="submit();">
                        <f:selectItem itemValue="" itemLabel="select"/> 
                        <f:selectItems value="#{user.courseOutcomeDirectAssessments}"/>    
                    </h:selectOneMenu>
                </h:column>
                <h:column>    	
                    <f:facet name="header">Course Outcome Survey Results</f:facet>  
                    <h:selectOneMenu value="CourseOutcomeSurveyResults" valueChangeListener="#{gUIUtilityClass.whatever}" onchange="submit();">
                        <f:selectItem itemValue="" itemLabel="select"/> 
                        <f:selectItems value="#{user.courseOutcomeSurveyResults}"/>    
                    </h:selectOneMenu>
                </h:column>
                
            </h:dataTable>
        </h:form>

    </h:body>
</html>

